package ooday02;
public class AnimalTest {
    public static void main(String[] args) {
        Dog dog=new Dog("小a",2,"黑");
        dog.eat();
        dog.drink();
        dog.lookHome();
        System.out.println();

        Chick chick=new Chick("小b",3,"白");
        chick.eat();
        chick.drink();
        chick.layEggs();
        System.out.println();

        Fish fish=new Fish("小c",3,"金");
        fish.eat();
        fish.drink();
        System.out.println();

        Animal animal=new Animal("???",0,"???");
        animal.eat();
        animal.drink();

    }
}
